-- GENERATED SPELL FOR [Rusty Harvest Golem] --


function spell0_480(pUnit, Event) --@Tetanus,n/a--
pUnit:FullCastSpellOnTarget(8014,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_480', 571, 1)
end

function Sorts_480(pUnit, Event)
local choix_sorts_480 = math.random(0, 0)
if choix_sorts_480 == 0 then
pUnit:RegisterEvent('spell0_480', 1, 1)
end
end

function mob480_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_480', math.random(1500, 3000), 1)
end

function mob480_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob480_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob480_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(480, 1, 'mob480_Action')
RegisterUnitEvent(480, 2, 'mob480_Leave')
RegisterUnitEvent(480, 3, 'mob480_Kill')
RegisterUnitEvent(480, 4, 'mob480_Die')
